<div align="center">
	<?
		if($loi != ""){
			echo "<ul>\n";
				foreach ($loi as $error){
					echo "<li>$error<li>\n";
				}
			echo "</ul>\n";
		}
	?>
</div>
<div align="center">
	<form action="index.php?module=hang&action=edit&id=<?php echo $id; ?>" method="post">
		<input type="text" name="hang" value="<?php echo $data['tenhang']; ?>"/><br />
		<input type="submit" name="ok" value="Edit" />
	</form>
</div>